package com.sword.ms_bwk.block.tile;

import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.entity.BlockEntityType;
import net.minecraft.world.level.block.state.BlockState;
import software.bernie.geckolib3.core.IAnimatable;
import software.bernie.geckolib3.core.manager.AnimationData;
import software.bernie.geckolib3.core.manager.AnimationFactory;
import software.bernie.geckolib3.util.GeckoLibUtil;

public class NormalFurnitureBlockEntity extends BlockEntity implements IAnimatable {
    private AnimationFactory factory = GeckoLibUtil.createFactory(this);

    public NormalFurnitureBlockEntity(BlockEntityType<?> pEntity, BlockPos pPos, BlockState pBlockState) {
        super(pEntity, pPos, pBlockState);
    }

    //动画控制器
    @Override
    public void registerControllers(AnimationData data) {
    }

    //返回动画工厂
    @Override
    public AnimationFactory getFactory() {
        return this.factory;
    }
}
